home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / x2ftp / msdos / libs / knowhow4 / filter.h < prev    next >
C/C++ Source or Header  |  1994-10-10  |  699b  |  24 lines

  1. /*  This file contains filters. There are 3x3 kernel digital filters
  2.  
  3. */
  4.  
  5. #ifndef __FILTER_H_
  6. #define __FILTER_H_
  7.  
  8. #include "graphpp.h"
  9. #include "gbuf.h"
  10. //#include "tools.h"
  11.  
  12. extern void filter(int** kernel, rect coord);    // digital filter
  13. extern void color_filter(int* kernel, rect coord);    // digital filter
  14.  
  15. extern void dither_BW(int* threshold, rect coord, loc dim);  // digital halftoning using
  16.                                // pattern mask
  17. extern void dither_BW(int* threshold, rect coord, loc dim,
  18.               GrafBuffer* buf);
  19.  
  20. // 16 color -> B/W using error propagation
  21. extern void error_dither(rect coord);
  22. extern void error_dither_buf(GrafBuffer* buf, rect coord);
  23.  
  24. #endif __FILTER_H_